// some imports
var info = Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo);

if(info.version.charAt(0)>=5){
Components.utils.import("resource://gre/modules/AddonManager.jsm"); //needed!
Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.import("resource:///modules/MailUtils.js")
}
//needed when a to promt infowindow when user trys to encrypt an already encrypted event
var stringBundlef;
window.addEventListener("load", function(){
	stringBundlef = document.getElementById("cryptoBirdStringBundle");
}, false); 

var temp;
var temp1;
var temp2;
var temp3;
var temp4;
var temp5;
var temp6;
var temp7;
var temp8;

var win = Components.classes["@mozilla.org/appshell/window-mediator;1"].
    getService(Components.interfaces.nsIWindowMediator).
    getMostRecentWindow("mail:3pane");
 

function myDump(aMessage) {
	  var consoleService = Components.classes["@mozilla.org/consoleservice;1"]
	                                 .getService(Components.interfaces.nsIConsoleService);
	  consoleService.logStringMessage("CrytoBird: " + aMessage);
}

